package com.craterhill.java.ccp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ccp.common.beans.Course;
import com.craterhill.java.ccp.dao.CoursesDao;
import com.craterhill.java.ccp.service.CoursesService;

@Service
public class CoursesServiceImpl implements CoursesService {

	@Autowired
	private CoursesDao coursesDao;

	public List<Course> getCourses(){
		return coursesDao.findAll();
	}
	@Override
	public Course getCourse() {

		return null;
	}

}
